<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Flex 导航条</title>
    <style>
        nav {
            display: flex;
            border-right: 1px solid #ccc;
            flex-direction: column;
            width: 50%;
        }

        nav>a {
            margin: 5px;
            padding: 5px 15px;
            border-radius: 3px;
            background-color: #ccc;
            text-decoration: none;
            color: black;
        }

        nav>a:hover,
        nav>a:focus,
        nav>a:active {
            background-color: #aaa;
            text-decoration: underline;
        }
    </style>
</head>

<body>
    <nav>
        <a href="/">Home</a>
        <a href="/about">About</a>
        <a href="/blog">Blog</a>
        <a href="/jobs">Careers</a>
        <a href="/contact">Contact Us</a>
    </nav>
</body>


</html>